package model

import "gorm.io/gorm"

type Logs struct {
	gorm.Model

	Uid uint `json:"uid"`

	IP string `json:"ip,omitempty"`

	Method string `json:"method"`

	Uri string `json:"uri"`

	Data string `json:"data" gorm:"type:text"`
}

func (table *Logs) TableName() string {
	return "logs"
}
